<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Admin - League Teams</title>
</head>
	<h:body>
		<ui:composition template="../template.xhtml">		
			<ui:define name="content">
				<p:sheet value="#{leagueTeamBean.leagueTeams}" var="team" scrollHeight="300">
					<!-- Header -->
					<f:facet name="caption">  
            			List of League Teams  
        			</f:facet>
        			<!-- Columns -->
        			<p:column headerText="Team Name" width="125">  
            			<h:inputText value="#{team.teamName}" /> 
        			</p:column>
        			<p:column headerText="Nick Name" width="125">  
            			<h:inputText value="#{team.teamAbbr}" /> 
        			</p:column>
        			<p:column headerText="Created On" width="125">  
            			<h:inputText value="#{team.crdt}" /> 
        			</p:column>
        			<p:column headerText="Updated On" width="125">  
            			<h:inputText value="#{team.updt}" /> 
        			</p:column>        			
				</p:sheet>
			</ui:define>		
		</ui:composition>
	</h:body>
</html>